package com.woniuxy.amusementparkos.entity.wyh;

import java.math.BigDecimal;
import java.util.Date;

import com.woniuxy.amusementparkos.entity.ssj.Spend_Level;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Customer {
	//客户id 主键
	private Integer customer_id;
	//客户 电话
	private String tel;
	//客户姓名
	private String customer_name;
	//消费上限
	private BigDecimal spend_total;
	
	
	//创建时间
	private Date customer_createtime;
	
	//消费等级
	private Integer level_id;
	// 与消费等级表：一对一的关系
	private Spend_Level spend_level;
	// 与腕带信息表：一对一的关系
	private WristStrap_Info wriststrp_info;

	public Customer(Integer customer_id, String tel, String customer_name, BigDecimal spend_total, Integer level_id,Date customer_createtime) {
		super();
		this.customer_id = customer_id;
		this.tel = tel;
		this.customer_name = customer_name;
		this.spend_total = spend_total;
		this.level_id = level_id;
		this.customer_createtime=customer_createtime;
	}

}
